using MrPP.SampleLib;
using UnityEngine;

public class SampleHandlerStandalone : MonoBehaviour
{
    [SerializeField]
    private Sample _sample;

    public void loadImpl(Sample.Data data)
    {
        _sample.load(data);
    }

    private Sample.Data saveImpl()
    {
        return _sample.save();
    }
    public string save()
    {
        return JsonUtility.ToJson(saveImpl());
    }
}
